<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ include file="/WEB-INF/public/head.jsp" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>会员钱包后台管理系统</title>

    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link rel="shortcut icon" href="${system}/static/favicon.ico">
    <link href="${system}/static/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="${system}/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${system}/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${system}/static/css/animate.css" rel="stylesheet">
    <link href="${system}/static/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <span><img alt="image" class="img-circle" src="${system}/static/img/profile_small.jpg"/></span>
                        <br/>
                        <label style="margin-top: 10px; color: white">登录类型:&nbsp;${sessionScope.admin.role_name}</label>
                    </div>
                    <div class="logo-element">H+
                    </div>
                </li>
                <li>
                    <a class="J_menuItem" href="index_content">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">首页</span>
                    </a>
                </li>
                <c:forEach var="menu" items="${menus}">
                    <li>
                        <a class="J_menuItem" href="${system}${menu.menus_url}">
                            <i class="${menu.menus_icon}"></i>
                            <span class="nav-label">${menu.menus_name}</span>
                        </a>
                    </li>
                </c:forEach>
                <li>
                    <a href="#">
                        <i class="fa fa-text-height"></i>
                        <span class="nav-label">修改模块</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a data-toggle="modal" data-target="#myModal">
                                修改会员价格
                            </a>
                        </li>
                        <li>
                            <a data-toggle="modal" data-target="#codeModal">
                                修改邀请码
                            </a>
                        </li>
                        <li>
                            <a data-toggle="modal" data-target="#lixi1">
                                修改利息
                            </a>
                        </li>
                    </ul>

                </li>



                <%--<li>
                    <a class="J_menuItem" href="${system}/admin/add_account">
                        <i class="fa fa-user-plus"></i>
                        <span class="nav-label">添加账号</span>
                    </a>
                </li>

                <li>
                    <a class="J_menuItem" href="${system}/feedback">
                        <i class="fa fa-users"></i>
                        <span class="nav-label">查看用户反馈</span>
                    </a>
                </li>

                <li>
                    <a class="J_menuItem" href="${system}/pay/photo">
                        <i class="fa fa-file-image-o"></i>
                        <span class="nav-label">上传支付二维码</span>
                    </a>
                </li>--%>

            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive">
                        <a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll">
                        <a>关闭全部选项卡</a>
                    </li>
                    <li class="J_tabCloseOther">
                        <a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>
            <a href="javascript:loginOut()" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="index_content" frameborder="0"
                    data-id="index_v1.html" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>





<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    修改会员价格
                </h4>
            </div>
            <form id="form_data">
                <div class="modal-body" style="text-align: center;">
                    会员价格: <input type="number" id="vip_price" placeholder="请输入会员价格"/>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" onclick="modifyPrice()" class="btn btn-primary">
                        修改
                    </button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>




<!-- 模态框（Modal） -->
<div class="modal fade" id="lixi1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="lixiModalLabel">
                    修改利率
                </h4>
            </div>
            <form id="lixiform_data">
                <div class="modal-body" style="text-align: center;">
                    利率: <input type="number" id="lilv" placeholder="请输入利率" name="user_id"/>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" onclick="modifyInterestRate()" class="btn btn-primary">
                        修改
                    </button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>





<!-- 模态框（Modal） -->
<div class="modal fade" id="codeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="code-title">
                    修改邀请码后三位
                </h4>
            </div>
            <form id="code_form_data">
                <div class="modal-body" style="text-align: center;">
                    三位数字或字符: <input type="text" id="code" placeholder="请输入后三位数字" minlength="3" maxlength="3" name="user_id"/>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" onclick="modifyInvitationCode()" class="btn btn-primary">
                        修改
                    </button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>













</body>
<!-- 全局js -->
<script src="${system}/static/js/pagejs/index.js"></script>
<script src="${system}/static/js/bootstrap.min.js?v=3.3.6"></script>
<script src="${system}/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="${system}/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="${system}/static/js/plugins/layer/layer.min.js"></script>
<!-- 自定义js -->
<script src="${system}/static/js/alert.js"></script>
<script src="${system}/static/js/hplus.js?v=4.1.0"></script>
<script type="text/javascript" src="${system}/static/js/contabs.js"></script>

<!-- 第三方插件 -->
<script src="${system}/static/js/plugins/pace/pace.min.js"></script>
</html>